package com.turnengine.client.global.user.command;

import com.javabi.codebuilder.generated.IGeneratedCommand;
import com.turnengine.client.global.command.IGlobalExecutableCommand;

/**
 * The I Login User.
 */
public interface ILoginUser extends IGeneratedCommand, IGlobalExecutableCommand<Long>, Comparable<ILoginUser> {

	/**
	 * Returns the name or email.
	 * @return the name or email.
	 */
	String getNameOrEmail();

	/**
	 * Returns the password.
	 * @return the password.
	 */
	String getPassword();

	/**
	 * Returns the address.
	 * @return the address.
	 */
	int getAddress();

	/**
	 * Sets the name or email.
	 * @param nameOrEmail the name or email to set.
	 */
	void setNameOrEmail(String nameOrEmail);

	/**
	 * Sets the password.
	 * @param password the password to set.
	 */
	void setPassword(String password);

	/**
	 * Sets the address.
	 * @param address the address to set.
	 */
	void setAddress(int address);
}
